/**
 * Created by Administrator on 2016/8/2.
 */
"use strict";
swan_pc.config(
    function($stateProvider) {
        $stateProvider
            .state('organizebyme', {
                parent: 'site',
                url: '/organizebyme',
                views: {
                    'content@': {
                        templateUrl: 'scripts/components/yue/organizebyme/organizebyme.html',
                        controller: 'OrganizeByMeController'
                    }
                }
            })
            .state('addevent', {
                parent: 'organizebyme',
                url: '/addevent',
                views: {
                    'EventShow@organizebyme': {
                        templateUrl: 'scripts/components/yue/organizebyme/addevent/addevent.html',
                        controller: 'AddEventController'
                    }
                }
            })
            .state('eventdetail', {
                parent: 'organizebyme',
                url: '/eventdetail',
                views: {
                    'EventShow@organizebyme': {
                        templateUrl: 'scripts/components/yue/organizebyme/eventdetail/eventdetail.html',
                        controller: 'EventDetailController'
                    }
                }
            })
            .state('eventlook', {
                parent: 'organizebyme',
                url: '/eventlook',
                views: {
                    'EventShow@organizebyme': {
                        templateUrl: 'scripts/components/yue/organizebyme/eventlook/eventlook.html',
                        controller: 'EventLookController'
                    }
                }
            })
    }
)